import request from '@/utils/axios'
// 获取星座
export function getConstellationData (params) {
  return request({
    url: 'http://userapi.xzdesktop.cqttech.com/getxzinfo',
    method: 'get',
    params
    // http://widget-xzdesktop.cqttech.com
  })
}
/**
 * 获取节假日
 * http://192.168.88.247:4999/web/#/158/1051
 * @param {Object} params
 * @returns
 */

export function getHolidayApi (params) {
  return request({
    url: 'http://xzdesktop-calandarapi.cqttech.com/api/v1/holiday',
    method: 'get',
    params
  })
}

// 获取宜忌
export function getAlmanacData (params) {
  return request({
    url: 'https://userweatherapi-xzdesktop.cqttech.com/api/GetAssistData',
    // url: 'http://192.168.100.8:9980/api/GetAssistData',
    // url: 'http://api.xzdesktop.cqttech.com/api/GetAssistData',
    method: 'get',
    params
  })
}
